package com.simplegui.api;

import java.awt.Dimension;
import java.awt.Point;


public class ImageInfo {
	
	private Point center;
	private Dimension size;
	private double radius;
	private Double lifespan;
	private boolean animated;
	
	public ImageInfo(Point center, Dimension size) {
		this(center, size, 0D);
	}
	
	public ImageInfo(Point center, Dimension size, double radius) {
		this(center, size, radius, Double.MAX_VALUE);
	}
	
	public ImageInfo(Point center, Dimension size, double radius, Double lifespan) {
		this(center, size, radius, lifespan, false);
	}
	
	public ImageInfo(Point center, Dimension size, double radius, Double lifespan, boolean animated) {
		super();
		this.center = center;
		this.size = size;
		this.radius = radius;
		this.lifespan = lifespan;
		this.animated = animated;
	}

	public Point getCenter() {
		return center;
	}

	public Dimension getSize() {
		return size;
	}

	public double getRadius() {
		return radius;
	}

	public Double getLifespan() {
		return lifespan;
	}

	public boolean isAnimated() {
		return animated;
	}
	

}
